trivial-httpd: Add __attribute__((format))
authorColin Walters <walters@verbum.org>
Sat, 7 May 2016 15:22:47 +0000 (11:22 -0400)
committerColin Walters <walters@verbum.org>
Sat, 7 May 2016 15:22:47 +0000 (11:22 -0400)
commitd270085ef33a08a20ef3c17f886c3f60f50ce1c6
treea72b91260a8e716345ddf7b735e438561428fbb5
parent49322a3f53fa2e4b98663963d6b4cc030f32e484
trivial-httpd: Add __attribute__((format))

I was briefly looking at building with clang mostly since it
detects unused variables with cleanup attributes, but then
I hit this fatal error.

It's a hard compile error with `-Wformat-nonliteral` since clang
doesn't know it's a format string.
src/ostree/ot-builtin-trivial-httpd.c